﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Video.aspx.cs" Inherits="Main_Video" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title><%=   ConfigurationSettings.AppSettings["title"]   %>-视频信息</title>
	<meta name="Keywords" content="<%=   ConfigurationSettings.AppSettings["Keywords"]   %>" />
    <meta name="description" content="<%=   ConfigurationSettings.AppSettings["description"]   %>" />
    <link href="../css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="../css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="../css/shop/shop.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <uc1:top ID="top1" runat="server" />
        <div class="main_all">  
        	<div class="shop_search">            
                <table>
                    <tr>
                        <td>
                            类型：</td>
                        <td>
                          <asp:DropDownList ID="ddltype" runat="server">
                          <asp:ListItem Value="0">--请选择--</asp:ListItem>
                              <asp:ListItem Value="新闻">新闻</asp:ListItem>
                              <asp:ListItem Value="搞笑">搞笑</asp:ListItem>
                              <asp:ListItem Value="电影">电影</asp:ListItem>
                              <asp:ListItem Value="短片">短片</asp:ListItem>
                              <asp:ListItem Value="原创">原创</asp:ListItem>
                              <asp:ListItem Value="广告">广告</asp:ListItem>
                          </asp:DropDownList></td>
                        <td>
                           视频名：</td>
                        <td>
                            <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                        <td>
                            <asp:Button ID="btnsearch" runat="server" CssClass="btngrey" Text="查找" 
                    onclick="btnsearch_Click" />    </td>
                    </tr>
                </table>    
            </div>           
            <div class="videocenter">
                    <asp:DataList ID="dlvideo" CssClass="newstexs" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
                            <ItemTemplate>
                              <asp:HiddenField ID="Hiddenhid" runat="server" Value='<%# Eval("Vid") %>' />
                               <div class="videomain">
                                    <asp:HyperLink ID="hlvideo" runat="server" Target="_blank">
                                         <asp:Image ID="imgbtnvideo" runat="server" Width="150px" Height="120px" ImageUrl='<%# Eval("Vurl") %>' />
                                    </asp:HyperLink>
                                    <div><asp:Label ID="labVname" runat="server" Text='<%# Eval("Vname") %>'></asp:Label>
                                    <br/>类型：<asp:Label ID="labVtype" runat="server" Text='<%# Eval("Vtype") %>'></asp:Label>
                                    </div>
                               </div>     
                            </ItemTemplate>
                        </asp:DataList>
              </div>
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
